//
//  LHImagePickerController.h
//  LHImagePicker
//
//  Created by 刘辉 lewis on 2018/6/13.
//  Copyright © 2018年 刘辉 lewis. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Photos/Photos.h>

@class LHImagePickerController;

@protocol LHImagePickerControllerDelegate<NSObject>
- (void)imagePickerController:(LHImagePickerController *)imagePicker didSelectAssets:(NSArray<PHAsset*>*)assets isSource:(BOOL)source;
- (void)imagePickerControllerDidCancel:(LHImagePickerController *)imagePicker;
@end

@interface LHImagePickerController : UIViewController
@property(nonatomic,weak)id<LHImagePickerControllerDelegate>delegate;
/** 允许选择最多图片数量,默认最多9张 */
@property(nonatomic,assign)NSInteger allowMaxSelectedImageCount;
@end
